package com.ctshk.rpc.system.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 不成团退费规则详情表
 * </p>
 *
 * @author 谢诗宏
 * @since 2021-02-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_main_data_not_group_rules_details")
@ApiModel(value="MainDataNotGroupRulesDetails对象", description="不成团退费规则详情表")
public class MainDataNotGroupRulesDetails extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "所属不成团退费ID")
    private Long groupId;

    @ApiModelProperty(value = "出发前天数")
    private Integer beforeDepartureDays;

    @ApiModelProperty(value = "扣费退费类型(1：全部退  2：部分退）")
    private Integer deductionRefundType;

    @ApiModelProperty(value = "扣费金额类型（1：t_scenic固定值 2：百分比）")
    private Integer deductionAmountType;

    @ApiModelProperty(value = "扣费金额")
    private BigDecimal deductionAmount;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;


}
